package cn.iocoder.yudao.module.reclaim.controller.admin.productcheckres.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 回收核验结果分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ReclaimCheckResPageReqVO extends PageParam {

    @Schema(description = "订单id", example = "7577")
    private String orderNo;

    @Schema(description = "客户输入重量")
    private Integer weightMember;

    @Schema(description = "核验前重量")
    private Integer weightCheckBefore;

    @Schema(description = "核验后重量")
    private Integer weightCheckAfter;

    @Schema(description = "原料类型", example = "1")
    private Integer materialType;

    @Schema(description = "纯度百分比")
    private Integer purePercent;

    @Schema(description = "寄出前图片")
    private List<String> undeliveryPic;

    @Schema(description = "核验前图片")
    private List<String> uncheckPic;

    @Schema(description = "核验后图片")
    private List<String> checkPic;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "是否扣除")
    private Boolean isDeduct;

}